package com.douqu.game.core.database.model;

import java.util.Date;
import java.util.DoubleSummaryStatistics;

/**
 * @author: miracle.
 * Description:
 * Date: 2018/5/23 0023 下午 12:02
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public class DiamondsChangeModel {

    private Integer id;

    private Date createTime;

    private String playerIndex;

    private Integer diamondsCount;

    public DiamondsChangeModel(){

    }

    public DiamondsChangeModel(Date createTime,String playerIndex,Integer diamondsCount){
        this.createTime = createTime;
        this.playerIndex = playerIndex;
        this.diamondsCount = diamondsCount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPlayerIndex() {
        return playerIndex;
    }

    public void setPlayerIndex(String playerIndex) {
        this.playerIndex = playerIndex;
    }

    public Integer getDiamondsCount() {
        return diamondsCount;
    }

    public void setDiamondsCount(Integer diamondsCount) {
        this.diamondsCount = diamondsCount;
    }

    @Override
    public String toString() {
        return "DiamondsChangeModel{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", playerIndex='" + playerIndex + '\'' +
                ", diamondsCount=" + diamondsCount +
                '}';
    }
}
